package com.wteam.PoJo.DO;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_presale_order")
@ApiModel(value="PresaleOrder对象", description="")
public class PresaleOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "预售订单表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "1：未交定金 2：已交定金，待通知交尾款 3：可交尾款 4：已交尾款未发货 5：已发货待确认收货 6：确认收货，交易成功 7：交易结束，已评价")
    private Integer status;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "地址id")
    private Long addressId;

    @ApiModelProperty(value = "优惠卷id")
    private Long voucherId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
